<!DOCTYPE html>
<html devsite>
<head>
  <title>TfLiteSparsity Struct Reference</title>
  <meta name="page_type" value="reference" />
</head>
<body>
  <div id="top"><!-- do not remove this div --></div>
  <h1>TfLiteSparsity</h1>
  <code>#include &lt;common.h&gt;</code>
  <p>Parameters used to encode a sparse tensor. </p>
  <h2>Summary</h2>
  <p>For detailed explanation of each field please refer to lite/schema/schema.fbs. </p>
  <table class="properties responsive">
    <tr>
      <th colspan="2">
        <h3>Public attributes</h3>
      </th>
    </tr>
    <tr>
      <td>
        <code><a href="#struct_tf_lite_sparsity_1aa813b8553a1cb8a84d97c9cdd836f7bd">block_map</a></code>
      </td>
      <td>
        <div>
          <code><a href="/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array">TfLiteIntArray</a> *</code>
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#struct_tf_lite_sparsity_1a5258ee28546ec1c95fa1331cbeefdba7">dim_metadata</a></code>
      </td>
      <td>
        <div>
          <code><a href="/lite/api_docs/c/struct/tf-lite-dimension-metadata.html#struct_tf_lite_dimension_metadata">TfLiteDimensionMetadata</a> *</code>
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#struct_tf_lite_sparsity_1a96145078d17f4bf14c291b5d5184592a">dim_metadata_size</a></code>
      </td>
      <td>
        <div>
          <code>int</code>
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#struct_tf_lite_sparsity_1a5e0e873cd494e76954dc1d81bb23d259">traversal_order</a></code>
      </td>
      <td>
        <div>
          <code><a href="/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array">TfLiteIntArray</a> *</code>
        </div>
      </td>
    </tr>
  </table>
  <h2>Public attributes</h2>
  <div id="struct_tf_lite_sparsity_1aa813b8553a1cb8a84d97c9cdd836f7bd">
    <h3>block_map</h3>
    <pre class="prettyprint"><a href="/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array">TfLiteIntArray</a> * TfLiteSparsity::block_map</pre>
    <div />
  </div>
  <div id="struct_tf_lite_sparsity_1a5258ee28546ec1c95fa1331cbeefdba7">
    <h3>dim_metadata</h3>
    <pre class="prettyprint"><a href="/lite/api_docs/c/struct/tf-lite-dimension-metadata.html#struct_tf_lite_dimension_metadata">TfLiteDimensionMetadata</a> * TfLiteSparsity::dim_metadata</pre>
    <div />
  </div>
  <div id="struct_tf_lite_sparsity_1a96145078d17f4bf14c291b5d5184592a">
    <h3>dim_metadata_size</h3>
    <pre class="prettyprint">int TfLiteSparsity::dim_metadata_size</pre>
    <div />
  </div>
  <div id="struct_tf_lite_sparsity_1a5e0e873cd494e76954dc1d81bb23d259">
    <h3>traversal_order</h3>
    <pre class="prettyprint"><a href="/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array">TfLiteIntArray</a> * TfLiteSparsity::traversal_order</pre>
    <div />
  </div>
</body>
</html>
